//
//  UIView+MJ.h
//  QQZoneDemo
//
//  Created by MJ Lee on 14-5-26.
//  Copyright (c) 2014年 itcast. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (MJ)
@property (assign, nonatomic) CGFloat x;
@property (assign, nonatomic) CGFloat y;
@property (assign,nonatomic) CGFloat centerX;
@property (assign,nonatomic) CGFloat centerY;
@property (assign, nonatomic) CGFloat width;
@property (assign, nonatomic) CGFloat height;
@property (assign, nonatomic) CGSize size;
@property (assign, nonatomic) CGPoint origin;

@property (assign, nonatomic) CGFloat top;
@property (assign, nonatomic) CGFloat left;

@property (assign, nonatomic) CGFloat bottom;
@property (assign, nonatomic) CGFloat right;

/**
 *  提示
 */
+ (UIView *)noDataLabel:(NSString *)str;

+ (UIView *)noDataLabel:(NSString *)str color:(UIColor *)color;

/**
 *  没有数据的图片
 */
+ (UIView *)noDataImageName:(NSString *)imageName title:(NSString *)title frame:(CGRect )frame;

@end
